Skip to content

Instantly share code, notes, and snippets.

@MuhammadSaim
MuhammadSaim / rarreg.key
Last active January 1, 2026 01:53
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@thomd
thomd / LC_COLORS.md
Last active January 1, 2026 01:45
LSCOLORS & LS_COLORS

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black

@TuringTestTwister
TuringTestTwister / dms-shell.nix
Created January 1, 2026 01:14
Example DankMaterialShell (DMS) Home Manager setup with merge to writable config using activation scripts. Assumes Niri also configured using HM.
{ pkgs, config, lib, ... }:
let
wallpaperPath = ../../wallpapers/temple.jpg;
dms-command-runner = pkgs.fetchFromGitHub {
owner = "devnullvoid";
repo = "dms-command-runner";
rev = "d89a09413e2fc041089b595a06c0fb316b12e17a";
hash = "sha256-tXqDRVp1VhyD1WylW83mO4aYFmVg/NV6Z/toHmb5Tn8=";
};
@dkun7944
dkun7944 / ContentView.swift
Created July 31, 2023 03:36
AirDrop iOS 17 Swift.Shader Animation
//
// ContentView.swift
// Airdrop Demo
//
// Created by Daniel Kuntz on 7/30/23.
//
import SwiftUI
struct ContentView: View {
@mrzapp
mrzapp / docker-compose.yml
Last active January 1, 2026 01:38
NextCloud setup for Docker (docker-compose) with Collabora, NGINX, Redis and Postgres
version: "3.4"
networks:
example-com--postgres: ~
example-com--redis: ~
services:
# PostgreSQL
postgres:
container_name: example-com--postgres
@pdmtt
pdmtt / sqlalchemy_with_pydantic_v2.py
Last active January 1, 2026 01:33 — forked from imankulov/sqlalchemy_with_pydantic.py
Using pydantic models as SQLAlchemy JSON fields (convert beween JSON and pydantic.BaseModel subclasses) with modern syntax
import datetime
from typing import TYPE_CHECKING, Any, Optional, final
import sqlalchemy as sa
from pydantic import BaseModel, Field
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.orm import Mapped, declarative_base, mapped_column, sessionmaker
from typing_extensions import override
if TYPE_CHECKING:
@jlyonsmith
jlyonsmith / Mac Keyboard Symbols.md
Last active January 1, 2026 01:31 — forked from Zenexer/Mac Keyboard Symbols.md
List of Mac/Apple keyboard symbols

Common symbols

Modifiers

When a key combination is displayed, the modifiers are written in the order presented here. For example, Control + Option + Shift + Command + Q would be written as ⌃⌥⇧⌘Q.

Sym Key Alt
Control
Option
@sbolel
sbolel / instagram-comment-activity-deleter.js
Last active January 1, 2026 01:23
Instagram Comment Activity Deleter: Automate the deletion of all your Instagram comments from the 'Your Activity' section. Perfect for quick digital clean-up.
/**
* This script automates the process of deleting your own Instagram comments.
* It deletes comments in batches to avoid hitting rate limits or breaking the page.
*
* WARNING: This function directly manipulates the DOM and depends on the current HTML
* structure of Instagram's website to work. If Instagram implements changes to the
* activity page layout, structure, or functionality, this script may break or cause
* unexpected behavior. Use at your own risk and always review code before running it.
*
* How to use:
@lemire
lemire / github.py
Created December 31, 2025 22:45
Get your GitHub activity for 2025
#!/usr/bin/env python3
# uv run lemire.py --token <your_github_token> --user <github_username>
#
# To generate a GitHub Personal Access Token:
# 1. Go to https://github.com/settings/tokens
# 2. Click "Generate new token (classic)"
# 3. Give it a name, e.g., "GitHub Search Script"
# 4. Select scopes: For public repositories, select "public_repo". For private, select "repo".
# 5. Click "Generate token"
# 6. Copy the token and use it as --token argument.
@cameroncooke
cameroncooke / AGENTS.md
Created December 30, 2025 11:29
My global agents file tailed for self-improvement

Agent instructions

Persona

  • Address the user as Cam.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • Assume staff-level technical context unless told otherwise.

Quality

  • Inspect project config (package.json, etc.) for available scripts.